<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>欢迎首页</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link id="link_" rel="stylesheet" href="../../layuiadmin/layui/css/layui.css" media="all">
    <link class="link_" rel="stylesheet" href="../../layuiadmin/layui/css/admin.css" media="all">
    <link class="link_" rel="stylesheet" href="../../css/custom.css" media="all">
    <link class="link_" rel="stylesheet" href="../../css/select2.css" media="all">
    <style>
    </style>
</head>

<body>
    <div class="layui-fluid">
        <div class="layui-row layui-col-space15">
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="layui-card-header">
                        <text>新增业务费用项目</text>
                        <div class="header-btn-group layui-form">
                            <div type="button" class="layui-btn layui-btn-sm layui-btn-primary" title="保存"
                                data-type="submit"><i class="layui-icon layui-icon-add-1"></i><span>保存</span></div>
                            <div type="button" class="layui-btn layui-btn-sm layui-btn-primary" title="关闭"
                                data-type="close"><i class="layui-icon layui-icon-close"></i><span>关闭</span></div>
                            <div class="btn-option option">
                                <div class="child-btn-group isShow">
                                    <div type="button" class="layui-btn layui-btn-sm layui-btn-primary" title="保存默认值"
                                        data-type="upAccountDefault"><i class="layui-icon layui-icon-form"></i></div>
                                    <div type="button" class="layui-btn layui-btn-sm layui-btn-primary" title="筛选显示输入框"
                                        data-type="filterItem"><i class="layui-icon layui-icon-cols"></i></div>
                                    <div type="button" class="layui-btn layui-btn-sm layui-btn-primary" title="保存个性化设置"
                                        data-type="uploadFormLocal"><i class="layui-icon layui-icon-upload-drag"></i>
                                    </div>
                                    <div type="button" class="layui-btn layui-btn-sm layui-btn-primary" title="下载个性化设置"
                                        data-type="downFormLocal"><i class="layui-icon layui-icon-download-circle"></i>
                                    </div>
                                    <div type="button" class="layui-btn layui-btn-sm layui-btn-primary" title="清除列表个性化"
                                        data-type="clearFormLocal"><i class="layui-icon layui-icon-template"></i></div>
                                </div>
                                <div type="button" class="layui-btn layui-btn-sm layui-btn-primary" title="表单个性化"
                                    data-type="FormCustom"><i class="layui-icon layui-icon-theme"></i></div>
                            </div>
                            <div class="header-option option">
                                <div type="button" class="layui-btn layui-btn-sm layui-btn-primary btn_more"><i
                                        class="layui-icon layui-icon-triangle-d "></i></div>
                                <i class="layui-icon layui-icon-more "></i>
                                <div class="layui-nav-child layui-anim layui-anim-upbit">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="layui-card-body" pad15>
                        <form class="layui-form" lay-filter="form-body">
                            <div class="layui-form-item">
                                <div class="layui-row">

                                    <div class="layui-col-sm6 layui-col-xs12 layui-col-md3  ">
                                        <div class="layui-form-item">
                                            <label class="layui-form-label from-lable">
                                                test1
                                            </label>
                                            <div class="layui-input-inline">
                                                <input type="text" id="CusGuid" name="CusGuid" placeholder="请输入test1"
                                                    autocomplete="off" class="layui-input">
                                            </div>
                                        </div>
                                    </div>

                                    <div class="layui-col-sm6 layui-col-xs12 layui-col-md3  ">
                                        <div class="layui-form-item">
                                            <label class="layui-form-label from-lable">
                                                test2
                                            </label>
                                            <div class="layui-input-inline">
                                                <input type="text" id="CusGuid2" name="CusGuid2" placeholder="请输入test1"
                                                    autocomplete="off" class="layui-input">
                                            </div>
                                        </div>
                                    </div>

                                    <div class="layui-col-sm6 layui-col-xs12 layui-col-md3 ">
                                        <div class="layui-form-item">
                                            <label class="layui-form-label from-lable">
                                                test3
                                            </label>
                                            <div class="layui-input-inline">
                                                <input type="text" id="CusGuid3" name="CusGuid3" placeholder="请输入test1"
                                                    autocomplete="off" class="layui-input">
                                            </div>
                                        </div>
                                    </div>

                                </div>
                            </div>
                            <div class="layui-form-item">
                                <div class="layui-input-block">
                                    <button type="button" class="layui-btn" lay-submit
                                        lay-filter="setmypass">提交保存</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
    </div>


    <script src="../../js/jquery.3.5.1.js"></script>
    <script src="../../js/select2.js"></script>
    <script src="../../layuiadmin/layui/layui.js"></script>
    <script src="../../layuiadmin/modules/layui_ext.js"></script>
    <script>
        layui.config({
            base: '../../layuiadmin/'
        }).extend({
            index: 'lib/index' //主入口模块
            , forceForm: 'modules/forceForm'
        }).use(['jquery', 'form', 'element', 'forceForm'], function () {
            var $ = layui.jquery
            var form = layui.form
            var forceForm = layui.forceForm

            var active = {
                submit: function () {
                    alert(23)
                },
                close: function () {
                    alert(23)
                }
            }

            layui.forceForm.custom(active, { isIframeSon: true })    //form自定义

        })
    </script>
</body>

</html>